/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Utility;

/**
 *
 * @author Ee Ting
 */
public class Conversion {
    
    public static int booleanToInt(boolean input)
    {
        if(input==true)
        {
            return 1;
        }
        else
        {
            return 0;
        }
    }
    
}
